package com.example.routeplansystem.algorithm;

import com.example.routeplansystem.entity.po.FinalSolution;
import com.example.routeplansystem.entity.po.NodePojo;
import com.example.routeplansystem.entity.po.Solution;
import com.example.routeplansystem.entity.po.VehicleMessage;

import java.rmi.ServerException;
import java.util.List;

/**
 * @Author lucong
 * @Date 2022/5/13
 * @Description 重构算法设计, 暂时保留原先代码
 */
public interface Algorithm {

    public List<Solution> getSolution(List<NodePojo> nodes,
                                      List<NodePojo> centerNodes,
                                      List<VehicleMessage> vehicles,
                                      FinalSolution finalSolutionId) throws ServerException;


    void checkMatrix(Integer questionId,Integer finalSolutionId);
}
